repo: Only open regular files
authorColin Walters <walters@verbum.org>
Wed, 19 Oct 2011 22:06:06 +0000 (18:06 -0400)
committerColin Walters <walters@verbum.org>
Wed, 19 Oct 2011 22:06:06 +0000 (18:06 -0400)
commitaa25334286a509a30aef9ecd16d8f0e7683827da
tree0b187afd4191b0c9c584b155b8d63c3ba8f9a603
parent961b1c80dbef4598ae0785aa1bf0bb1be9d69383
repo: Only open regular files

Otherwise we'll try to open device files with predictably bad
consequences.
src/libostree/ostree-core.c
src/libostree/ostree-repo.c